package DataModel.SegmentTree;

/**
 * Interface for segment tree iterator
 * @author Guy
 *
 */
public interface SegmentTreeIterator {
	/**
	 * Returns true if there is another node in the tree not visited yet.
	 * @return
	 */
	public boolean hasNext();
	
	/**
	 * Returns next node in  the tree;
	 * @return
	 */
	public SegmentTreeNode next();
}
